all:tcppros tcpthreads tcpclient tcpserver udpclient udpserver
tcppros:tcppros.cpp
	g++ $^ -o $@ -lpthread 
tcpthreads:tcpthreads.cpp
	g++ $^ -o $@ -lpthread 
tcpclient:tcpclient.cpp
	g++ $^ -o $@ 
tcpserver:tcpserver.cpp 
	g++ $^ -o $@ 
udpclient:udpclient.cpp
	g++ $^ -o $@ 
udpserver:udpserver.cpp
	g++ $^ -o $@ 

